package com.freework.sys.table.service;

import java.util.Collection;
import java.util.List;
import java.util.Map;

import com.freework.sys.dic.vo.DicVO;
import com.freework.sys.permissions.external.exception.AppException;
import com.freework.util.MapUtil;

public interface DicTablePageCfgServiceI {
	final static Map<String,Object> typemap=MapUtil.asMap(
			"s","",
			 "i",new Integer(0),
			 "d",new Double(0),
			 "b",false
			 );
	public Map<String,Object> getFormfieldProperty(String fieldtype) throws AppException;
	public Collection<DicVO> getFormfields() throws AppException;

	public List<DicVO> getFieldPropertyList(String fieldtype) throws AppException;
	public Map<String,String> getPropertyNames() throws AppException;
	public void saveXML(String tablename,String json) throws AppException;
	public Map<String,Object> readTablePage(String tablename) throws AppException;

	
}
